import sys

from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5 import uic

from login import Ui_Form


class MyWindow(Ui_Form,QWidget):
    def __init__(self) -> None:
        super().__init__()
        self.setupUi(self)  # 初始化UI界面


    def login_click(self):
        print("开始执行登录.....")


if __name__ == '__main__':
    app = QApplication(sys.argv)
    w = MyWindow()
    w.show()
    sys.exit(app.exec_())
